package com.example.superoa.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the toverview database table.
 * 
 */
@Entity
@NamedQuery(name="Toverview.findAll", query="SELECT t FROM Toverview t")
public class Toverview implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int toverviewid;

	private BigDecimal toverviewavg;

	private int toverviewexam;

	private int toverviewexce;

	private BigDecimal toverviewheight;

	private BigDecimal toverviewpro;

	//bi-directional many-to-one association to Tarrange
	@ManyToOne
	@JoinColumn(name="tarrangeid")
	private Tarrange tarrange;

	public Toverview() {
	}

	public int getToverviewid() {
		return this.toverviewid;
	}

	public void setToverviewid(int toverviewid) {
		this.toverviewid = toverviewid;
	}

	public BigDecimal getToverviewavg() {
		return this.toverviewavg;
	}

	public void setToverviewavg(BigDecimal toverviewavg) {
		this.toverviewavg = toverviewavg;
	}

	public int getToverviewexam() {
		return this.toverviewexam;
	}

	public void setToverviewexam(int toverviewexam) {
		this.toverviewexam = toverviewexam;
	}

	public int getToverviewexce() {
		return this.toverviewexce;
	}

	public void setToverviewexce(int toverviewexce) {
		this.toverviewexce = toverviewexce;
	}

	public BigDecimal getToverviewheight() {
		return this.toverviewheight;
	}

	public void setToverviewheight(BigDecimal toverviewheight) {
		this.toverviewheight = toverviewheight;
	}

	public BigDecimal getToverviewpro() {
		return this.toverviewpro;
	}

	public void setToverviewpro(BigDecimal toverviewpro) {
		this.toverviewpro = toverviewpro;
	}

	public Tarrange getTarrange() {
		return this.tarrange;
	}

	public void setTarrange(Tarrange tarrange) {
		this.tarrange = tarrange;
	}

}